<?php
if($_GET['action']== 'list_pages')
{
	include 'protected/list_pages.php';
}
elseif ($_GET['action']=='admin')
{
	include 'protected/admin.php';
}	


elseif ($_GET['action']=='index' || !isset($_GET['action']))
{
	include 'protected/main.php';	
}
elseif ($_GET['action']=='page')
{
	include 'protected/page.php';	
}
else{
	include 'protected/error.php';
}